package com.youkeyi.ddy.cloud.common.api.application.business.crm.config;

import com.youkeyi.ddy.cloud.common.api.application.business.crm.config.dto.BusinessCustomerConfigListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.config.param.BusinessCustomerConfigListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.config.param.BusinessCustomerConfigUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessCustomerConfigCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/customer/config/fallback")
public class BusinessCustomerConfigCloudServiceFallback implements BusinessCustomerConfigCloudService {

    @Override
    public BusinessCustomerConfigListCloudDto list(BusinessCustomerConfigListCloudParam param) {
        return new BusinessCustomerConfigListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessCustomerConfigUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

}
